<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
      <el-form-item label="表单编码" prop="srvSfcode">
        <el-input
          v-model="queryParams.srvSfcode"
          placeholder="请输入表单编码"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="承办单位编码" prop="extFmicode">
        <el-input
          v-model="queryParams.extFmicode"
          placeholder="请输入承办单位编码"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="是否主承办单位" prop="srvFbmainflg">
        <el-input
          v-model="queryParams.srvFbmainflg"
          placeholder="请输入是否主承办单位"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="反馈单状态" prop="srvFbflag">
        <el-input
          v-model="queryParams.srvFbflag"
          placeholder="请输入反馈单状态"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="办理状态" prop="srvFbstate">
        <el-input
          v-model="queryParams.srvFbstate"
          placeholder="请输入办理状态"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="转发方式" prop="srvFbsendmode">
        <el-input
          v-model="queryParams.srvFbsendmode"
          placeholder="请输入转发方式"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="反馈期限" prop="srvFbsendlimit">
        <el-input
          v-model="queryParams.srvFbsendlimit"
          placeholder="请输入反馈期限"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="评议分数" prop="srvFbopingrage">
        <el-input
          v-model="queryParams.srvFbopingrage"
          placeholder="请输入评议分数"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="评议人" prop="srvFbopiner">
        <el-input
          v-model="queryParams.srvFbopiner"
          placeholder="请输入评议人"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="评议时间" prop="srvFbopintime">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvFbopintime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择评议时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="转发人" prop="srvFbsender">
        <el-input
          v-model="queryParams.srvFbsender"
          placeholder="请输入转发人"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="转发时间" prop="srvFbsendtime">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvFbsendtime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择转发时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="反馈方式" prop="srvFbrevmode">
        <el-input
          v-model="queryParams.srvFbrevmode"
          placeholder="请输入反馈方式"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="发送状态" prop="srvFbsendflag">
        <el-input
          v-model="queryParams.srvFbsendflag"
          placeholder="请输入发送状态"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="是否已读" prop="srvFbisread">
        <el-input
          v-model="queryParams.srvFbisread"
          placeholder="请输入是否已读"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="创建者" prop="srvFboper">
        <el-input
          v-model="queryParams.srvFboper"
          placeholder="请输入创建者"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="创建日期" prop="srvFbopertime">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvFbopertime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择创建日期">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="最后修改者" prop="srvFblmoper">
        <el-input
          v-model="queryParams.srvFblmoper"
          placeholder="请输入最后修改者"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="最后修改时间" prop="srvFblmtime">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvFblmtime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择最后修改时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="审核状态" prop="srvFbcheck">
        <el-input
          v-model="queryParams.srvFbcheck"
          placeholder="请输入审核状态"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="审核者" prop="srvFbcheckoper">
        <el-input
          v-model="queryParams.srvFbcheckoper"
          placeholder="请输入审核者"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="审核时间" prop="srvFbchecktime">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvFbchecktime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择审核时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="是否 督办件" prop="srvFbendflag">
        <el-input
          v-model="queryParams.srvFbendflag"
          placeholder="请输入是否 督办件"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label=" 督办件是否结束" prop="srvFbendflagt">
        <el-input
          v-model="queryParams.srvFbendflagt"
          placeholder="请输入 督办件是否结束"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="是否满意件" prop="srvSfmanyiflag">
        <el-input
          v-model="queryParams.srvSfmanyiflag"
          placeholder="请输入是否满意件"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="是否关注件" prop="srvSfguanzhuflag">
        <el-input
          v-model="queryParams.srvSfguanzhuflag"
          placeholder="请输入是否关注件"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="是否重新转办
" prop="srvFbtranstype">
        <el-select v-model="queryParams.srvFbtranstype" placeholder="请选择是否重新转办
" clearable size="small">
          <el-option label="请选择字典生成" value="" />
        </el-select>
      </el-form-item>
      <el-form-item label="办理单办结截止时间" prop="srvFbenddate">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvFbenddate"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择办理单办结截止时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="办理单实际办结时间" prop="srvFbtrueenddate">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvFbtrueenddate"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择办理单实际办结时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="是否是合并件
" prop="srvFbhebingflag">
        <el-input
          v-model="queryParams.srvFbhebingflag"
          placeholder="请输入是否是合并件
"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="是否是回访件
" prop="srvFbrcflag">
        <el-input
          v-model="queryParams.srvFbrcflag"
          placeholder="请输入是否是回访件
"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="办结者" prop="srvFbendfinisher">
        <el-input
          v-model="queryParams.srvFbendfinisher"
          placeholder="请输入办结者"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="延期申请状态" prop="srvFbyanqistate">
        <el-input
          v-model="queryParams.srvFbyanqistate"
          placeholder="请输入延期申请状态"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="是否已读" prop="srvFbisreadflag">
        <el-input
          v-model="queryParams.srvFbisreadflag"
          placeholder="请输入是否已读"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="中心是否已读" prop="srvFbtfisread">
        <el-input
          v-model="queryParams.srvFbtfisread"
          placeholder="请输入中心是否已读"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="第一次反馈截止日期" prop="srvFbfirstenddate">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvFbfirstenddate"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择第一次反馈截止日期">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="是否可以办理" prop="srvFbisornotbanli">
        <el-input
          v-model="queryParams.srvFbisornotbanli"
          placeholder="请输入是否可以办理"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="第一次反馈时间" prop="firstdealtime">
        <el-date-picker clearable size="small"
          v-model="queryParams.firstdealtime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择第一次反馈时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="最后一次反馈时间" prop="lastdealtime">
        <el-date-picker clearable size="small"
          v-model="queryParams.lastdealtime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择最后一次反馈时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="最后一次反馈审核时间" prop="srvTfchecktime">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvTfchecktime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择最后一次反馈审核时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="最后一次反馈编码" prop="srvTfcode">
        <el-input
          v-model="queryParams.srvTfcode"
          placeholder="请输入最后一次反馈编码"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="二级办理单位回复状态" prop="srvHuifuFlag">
        <el-input
          v-model="queryParams.srvHuifuFlag"
          placeholder="请输入二级办理单位回复状态"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="二级反馈是否已读" prop="srvSftfanisread">
        <el-input
          v-model="queryParams.srvSftfanisread"
          placeholder="请输入二级反馈是否已读"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="回访督办状态" prop="srvFbhuidubanstate">
        <el-input
          v-model="queryParams.srvFbhuidubanstate"
          placeholder="请输入回访督办状态"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="OA督办状态" prop="srvFboadubanflag">
        <el-input
          v-model="queryParams.srvFboadubanflag"
          placeholder="请输入OA督办状态"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="延期申请状态" prop="srvApplicationstate">
        <el-input
          v-model="queryParams.srvApplicationstate"
          placeholder="请输入延期申请状态"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="延期申请天数" prop="srvApplicationdays">
        <el-input
          v-model="queryParams.srvApplicationdays"
          placeholder="请输入延期申请天数"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="回访办结督办状态" prop="srvFbbanflag">
        <el-input
          v-model="queryParams.srvFbbanflag"
          placeholder="请输入回访办结督办状态"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="联系人" prop="srvFbcontact">
        <el-input
          v-model="queryParams.srvFbcontact"
          placeholder="请输入联系人"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="联系电话" prop="srvFbcontactnum">
        <el-input
          v-model="queryParams.srvFbcontactnum"
          placeholder="请输入联系电话"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="联系时间" prop="srvFbcontacttime">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvFbcontacttime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择联系时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="联系情况" prop="srvFbcontaction">
        <el-input
          v-model="queryParams.srvFbcontaction"
          placeholder="请输入联系情况"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="首日创建人" prop="srvFbcontactoper">
        <el-input
          v-model="queryParams.srvFbcontactoper"
          placeholder="请输入首日创建人"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="首日创建时间" prop="srvFbcontactopertime">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvFbcontactopertime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择首日创建时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="首日修改人" prop="srvFbcontactlmoper">
        <el-input
          v-model="queryParams.srvFbcontactlmoper"
          placeholder="请输入首日修改人"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="首日修改时间" prop="srvFbcontactlmtime">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvFbcontactlmtime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择首日修改时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="提交状态" prop="srvFbcontactsubmitstate">
        <el-input
          v-model="queryParams.srvFbcontactsubmitstate"
          placeholder="请输入提交状态"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="提交人" prop="srvFbcontactsubmiter">
        <el-input
          v-model="queryParams.srvFbcontactsubmiter"
          placeholder="请输入提交人"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="提交时间" prop="srvFbcontactsubmittime">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvFbcontactsubmittime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择提交时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="挂牌督办状态" prop="srvFbguadubanflag">
        <el-input
          v-model="queryParams.srvFbguadubanflag"
          placeholder="请输入挂牌督办状态"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="挂牌督办人" prop="srvFbguadubanperson">
        <el-input
          v-model="queryParams.srvFbguadubanperson"
          placeholder="请输入挂牌督办人"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="挂牌督办时间" prop="srvFbguadubandate">
        <el-date-picker clearable size="small"
          v-model="queryParams.srvFbguadubandate"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="选择挂牌督办时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="回退标识" prop="srvHuituiflag">
        <el-input
          v-model="queryParams.srvHuituiflag"
          placeholder="请输入回退标识"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="回退状态" prop="srvHuituistate">
        <el-input
          v-model="queryParams.srvHuituistate"
          placeholder="请输入回退状态"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="预通报件" prop="srvFbprenotififlag">
        <el-input
          v-model="queryParams.srvFbprenotififlag"
          placeholder="请输入预通报件"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="推诿件" prop="srvFbprevaricationflag">
        <el-input
          v-model="queryParams.srvFbprevaricationflag"
          placeholder="请输入推诿件"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="最后一次退回重办单编码" prop="srvFblasthuituicode">
        <el-input
          v-model="queryParams.srvFblasthuituicode"
          placeholder="请输入最后一次退回重办单编码"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="退回重办次数" prop="srvFbhuituisize">
        <el-input
          v-model="queryParams.srvFbhuituisize"
          placeholder="请输入退回重办次数"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="回退标识" prop="srvReturnflag">
        <el-input
          v-model="queryParams.srvReturnflag"
          placeholder="请输入回退标识"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="拟挂牌督办" prop="srvFbniguadubanflag">
        <el-input
          v-model="queryParams.srvFbniguadubanflag"
          placeholder="请输入拟挂牌督办"
          clearable
          size="small"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>

    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['system:feedbform:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['system:feedbform:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['system:feedbform:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['system:feedbform:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>

    <el-table v-loading="loading" :data="feedbformList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="反馈编码" align="center" prop="srvFbcode" />
      <el-table-column label="表单编码" align="center" prop="srvSfcode" />
      <el-table-column label="承办单位编码" align="center" prop="extFmicode" />
      <el-table-column label="是否主承办单位" align="center" prop="srvFbmainflg" />
      <el-table-column label="反馈单状态" align="center" prop="srvFbflag" />
      <el-table-column label="办理状态" align="center" prop="srvFbstate" />
      <el-table-column label="转发方式" align="center" prop="srvFbsendmode" />
      <el-table-column label="反馈期限" align="center" prop="srvFbsendlimit" />
      <el-table-column label="评议分数" align="center" prop="srvFbopingrage" />
      <el-table-column label="评议意见" align="center" prop="srvFbopinion" />
      <el-table-column label="评议人" align="center" prop="srvFbopiner" />
      <el-table-column label="评议时间" align="center" prop="srvFbopintime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvFbopintime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="转发人" align="center" prop="srvFbsender" />
      <el-table-column label="转发时间" align="center" prop="srvFbsendtime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvFbsendtime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="反馈方式" align="center" prop="srvFbrevmode" />
      <el-table-column label="发送状态" align="center" prop="srvFbsendflag" />
      <el-table-column label="是否已读" align="center" prop="srvFbisread" />
      <el-table-column label="创建者" align="center" prop="srvFboper" />
      <el-table-column label="创建日期" align="center" prop="srvFbopertime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvFbopertime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="最后修改者" align="center" prop="srvFblmoper" />
      <el-table-column label="最后修改时间" align="center" prop="srvFblmtime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvFblmtime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="审核状态" align="center" prop="srvFbcheck" />
      <el-table-column label="审核者" align="center" prop="srvFbcheckoper" />
      <el-table-column label="审核时间" align="center" prop="srvFbchecktime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvFbchecktime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="是否 督办件" align="center" prop="srvFbendflag" />
      <el-table-column label=" 督办件是否结束" align="center" prop="srvFbendflagt" />
      <el-table-column label="是否满意件" align="center" prop="srvSfmanyiflag" />
      <el-table-column label="是否关注件" align="center" prop="srvSfguanzhuflag" />
      <el-table-column label="是否重新转办
" align="center" prop="srvFbtranstype" />
      <el-table-column label="办理单办结截止时间" align="center" prop="srvFbenddate" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvFbenddate, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="办理单实际办结时间" align="center" prop="srvFbtrueenddate" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvFbtrueenddate, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="是否是合并件
" align="center" prop="srvFbhebingflag" />
      <el-table-column label="是否是回访件
" align="center" prop="srvFbrcflag" />
      <el-table-column label="办结者" align="center" prop="srvFbendfinisher" />
      <el-table-column label="延期申请状态" align="center" prop="srvFbyanqistate" />
      <el-table-column label="是否已读" align="center" prop="srvFbisreadflag" />
      <el-table-column label="中心是否已读" align="center" prop="srvFbtfisread" />
      <el-table-column label="第一次反馈截止日期" align="center" prop="srvFbfirstenddate" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvFbfirstenddate, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="是否可以办理" align="center" prop="srvFbisornotbanli" />
      <el-table-column label="第一次反馈时间" align="center" prop="firstdealtime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.firstdealtime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="最后一次反馈时间" align="center" prop="lastdealtime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.lastdealtime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="最后一次反馈审核时间" align="center" prop="srvTfchecktime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvTfchecktime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="最后一次反馈编码" align="center" prop="srvTfcode" />
      <el-table-column label="二级办理单位回复状态" align="center" prop="srvHuifuFlag" />
      <el-table-column label="二级反馈是否已读" align="center" prop="srvSftfanisread" />
      <el-table-column label="回访督办状态" align="center" prop="srvFbhuidubanstate" />
      <el-table-column label="回访督办意见" align="center" prop="srvFbhuidubanadvice" />
      <el-table-column label="OA督办状态" align="center" prop="srvFboadubanflag" />
      <el-table-column label="延期申请状态" align="center" prop="srvApplicationstate" />
      <el-table-column label="延期申请天数" align="center" prop="srvApplicationdays" />
      <el-table-column label="回访办结督办状态" align="center" prop="srvFbbanflag" />
      <el-table-column label="联系人" align="center" prop="srvFbcontact" />
      <el-table-column label="联系电话" align="center" prop="srvFbcontactnum" />
      <el-table-column label="联系时间" align="center" prop="srvFbcontacttime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvFbcontacttime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="联系情况" align="center" prop="srvFbcontaction" />
      <el-table-column label="备注" align="center" prop="srvFbcontactdes" />
      <el-table-column label="首日创建人" align="center" prop="srvFbcontactoper" />
      <el-table-column label="首日创建时间" align="center" prop="srvFbcontactopertime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvFbcontactopertime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="首日修改人" align="center" prop="srvFbcontactlmoper" />
      <el-table-column label="首日修改时间" align="center" prop="srvFbcontactlmtime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvFbcontactlmtime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="提交状态" align="center" prop="srvFbcontactsubmitstate" />
      <el-table-column label="提交人" align="center" prop="srvFbcontactsubmiter" />
      <el-table-column label="提交时间" align="center" prop="srvFbcontactsubmittime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvFbcontactsubmittime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="挂牌督办状态" align="center" prop="srvFbguadubanflag" />
      <el-table-column label="挂牌督办人" align="center" prop="srvFbguadubanperson" />
      <el-table-column label="挂牌督办时间" align="center" prop="srvFbguadubandate" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.srvFbguadubandate, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="回退标识" align="center" prop="srvHuituiflag" />
      <el-table-column label="回退状态" align="center" prop="srvHuituistate" />
      <el-table-column label="预通报件" align="center" prop="srvFbprenotififlag" />
      <el-table-column label="推诿件" align="center" prop="srvFbprevaricationflag" />
      <el-table-column label="最后一次退回重办单编码" align="center" prop="srvFblasthuituicode" />
      <el-table-column label="退回重办次数" align="center" prop="srvFbhuituisize" />
      <el-table-column label="回退标识" align="center" prop="srvReturnflag" />
      <el-table-column label="拟挂牌督办" align="center" prop="srvFbniguadubanflag" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['system:feedbform:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['system:feedbform:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
    </el-table>
    
    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />

    <!-- 添加或修改办理单对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="表单编码" prop="srvSfcode">
          <el-input v-model="form.srvSfcode" placeholder="请输入表单编码" />
        </el-form-item>
        <el-form-item label="承办单位编码" prop="extFmicode">
          <el-input v-model="form.extFmicode" placeholder="请输入承办单位编码" />
        </el-form-item>
        <el-form-item label="是否主承办单位" prop="srvFbmainflg">
          <el-input v-model="form.srvFbmainflg" placeholder="请输入是否主承办单位" />
        </el-form-item>
        <el-form-item label="反馈单状态" prop="srvFbflag">
          <el-input v-model="form.srvFbflag" placeholder="请输入反馈单状态" />
        </el-form-item>
        <el-form-item label="办理状态" prop="srvFbstate">
          <el-input v-model="form.srvFbstate" placeholder="请输入办理状态" />
        </el-form-item>
        <el-form-item label="转发方式" prop="srvFbsendmode">
          <el-input v-model="form.srvFbsendmode" placeholder="请输入转发方式" />
        </el-form-item>
        <el-form-item label="反馈期限" prop="srvFbsendlimit">
          <el-input v-model="form.srvFbsendlimit" placeholder="请输入反馈期限" />
        </el-form-item>
        <el-form-item label="评议分数" prop="srvFbopingrage">
          <el-input v-model="form.srvFbopingrage" placeholder="请输入评议分数" />
        </el-form-item>
        <el-form-item label="评议意见" prop="srvFbopinion">
          <el-input v-model="form.srvFbopinion" type="textarea" placeholder="请输入内容" />
        </el-form-item>
        <el-form-item label="评议人" prop="srvFbopiner">
          <el-input v-model="form.srvFbopiner" placeholder="请输入评议人" />
        </el-form-item>
        <el-form-item label="评议时间" prop="srvFbopintime">
          <el-date-picker clearable size="small"
            v-model="form.srvFbopintime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择评议时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="转发人" prop="srvFbsender">
          <el-input v-model="form.srvFbsender" placeholder="请输入转发人" />
        </el-form-item>
        <el-form-item label="转发时间" prop="srvFbsendtime">
          <el-date-picker clearable size="small"
            v-model="form.srvFbsendtime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择转发时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="反馈方式" prop="srvFbrevmode">
          <el-input v-model="form.srvFbrevmode" placeholder="请输入反馈方式" />
        </el-form-item>
        <el-form-item label="发送状态" prop="srvFbsendflag">
          <el-input v-model="form.srvFbsendflag" placeholder="请输入发送状态" />
        </el-form-item>
        <el-form-item label="是否已读" prop="srvFbisread">
          <el-input v-model="form.srvFbisread" placeholder="请输入是否已读" />
        </el-form-item>
        <el-form-item label="创建者" prop="srvFboper">
          <el-input v-model="form.srvFboper" placeholder="请输入创建者" />
        </el-form-item>
        <el-form-item label="创建日期" prop="srvFbopertime">
          <el-date-picker clearable size="small"
            v-model="form.srvFbopertime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择创建日期">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="最后修改者" prop="srvFblmoper">
          <el-input v-model="form.srvFblmoper" placeholder="请输入最后修改者" />
        </el-form-item>
        <el-form-item label="最后修改时间" prop="srvFblmtime">
          <el-date-picker clearable size="small"
            v-model="form.srvFblmtime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择最后修改时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="审核状态" prop="srvFbcheck">
          <el-input v-model="form.srvFbcheck" placeholder="请输入审核状态" />
        </el-form-item>
        <el-form-item label="审核者" prop="srvFbcheckoper">
          <el-input v-model="form.srvFbcheckoper" placeholder="请输入审核者" />
        </el-form-item>
        <el-form-item label="审核时间" prop="srvFbchecktime">
          <el-date-picker clearable size="small"
            v-model="form.srvFbchecktime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择审核时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="是否 督办件" prop="srvFbendflag">
          <el-input v-model="form.srvFbendflag" placeholder="请输入是否 督办件" />
        </el-form-item>
        <el-form-item label=" 督办件是否结束" prop="srvFbendflagt">
          <el-input v-model="form.srvFbendflagt" placeholder="请输入 督办件是否结束" />
        </el-form-item>
        <el-form-item label="是否满意件" prop="srvSfmanyiflag">
          <el-input v-model="form.srvSfmanyiflag" placeholder="请输入是否满意件" />
        </el-form-item>
        <el-form-item label="是否关注件" prop="srvSfguanzhuflag">
          <el-input v-model="form.srvSfguanzhuflag" placeholder="请输入是否关注件" />
        </el-form-item>
        <el-form-item label="是否重新转办
" prop="srvFbtranstype">
          <el-select v-model="form.srvFbtranstype" placeholder="请选择是否重新转办
">
            <el-option label="请选择字典生成" value="" />
          </el-select>
        </el-form-item>
        <el-form-item label="办理单办结截止时间" prop="srvFbenddate">
          <el-date-picker clearable size="small"
            v-model="form.srvFbenddate"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择办理单办结截止时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="办理单实际办结时间" prop="srvFbtrueenddate">
          <el-date-picker clearable size="small"
            v-model="form.srvFbtrueenddate"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择办理单实际办结时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="是否是合并件
" prop="srvFbhebingflag">
          <el-input v-model="form.srvFbhebingflag" placeholder="请输入是否是合并件
" />
        </el-form-item>
        <el-form-item label="是否是回访件
" prop="srvFbrcflag">
          <el-input v-model="form.srvFbrcflag" placeholder="请输入是否是回访件
" />
        </el-form-item>
        <el-form-item label="办结者" prop="srvFbendfinisher">
          <el-input v-model="form.srvFbendfinisher" placeholder="请输入办结者" />
        </el-form-item>
        <el-form-item label="延期申请状态" prop="srvFbyanqistate">
          <el-input v-model="form.srvFbyanqistate" placeholder="请输入延期申请状态" />
        </el-form-item>
        <el-form-item label="是否已读" prop="srvFbisreadflag">
          <el-input v-model="form.srvFbisreadflag" placeholder="请输入是否已读" />
        </el-form-item>
        <el-form-item label="中心是否已读" prop="srvFbtfisread">
          <el-input v-model="form.srvFbtfisread" placeholder="请输入中心是否已读" />
        </el-form-item>
        <el-form-item label="第一次反馈截止日期" prop="srvFbfirstenddate">
          <el-date-picker clearable size="small"
            v-model="form.srvFbfirstenddate"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择第一次反馈截止日期">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="是否可以办理" prop="srvFbisornotbanli">
          <el-input v-model="form.srvFbisornotbanli" placeholder="请输入是否可以办理" />
        </el-form-item>
        <el-form-item label="第一次反馈时间" prop="firstdealtime">
          <el-date-picker clearable size="small"
            v-model="form.firstdealtime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择第一次反馈时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="最后一次反馈时间" prop="lastdealtime">
          <el-date-picker clearable size="small"
            v-model="form.lastdealtime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择最后一次反馈时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="最后一次反馈审核时间" prop="srvTfchecktime">
          <el-date-picker clearable size="small"
            v-model="form.srvTfchecktime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择最后一次反馈审核时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="最后一次反馈内容" prop="srvTfanswer">
          <el-input v-model="form.srvTfanswer" type="textarea" placeholder="请输入内容" />
        </el-form-item>
        <el-form-item label="最后一次反馈编码" prop="srvTfcode">
          <el-input v-model="form.srvTfcode" placeholder="请输入最后一次反馈编码" />
        </el-form-item>
        <el-form-item label="二级办理单位回复状态" prop="srvHuifuFlag">
          <el-input v-model="form.srvHuifuFlag" placeholder="请输入二级办理单位回复状态" />
        </el-form-item>
        <el-form-item label="二级反馈是否已读" prop="srvSftfanisread">
          <el-input v-model="form.srvSftfanisread" placeholder="请输入二级反馈是否已读" />
        </el-form-item>
        <el-form-item label="回访督办状态" prop="srvFbhuidubanstate">
          <el-input v-model="form.srvFbhuidubanstate" placeholder="请输入回访督办状态" />
        </el-form-item>
        <el-form-item label="回访督办意见" prop="srvFbhuidubanadvice">
          <el-input v-model="form.srvFbhuidubanadvice" type="textarea" placeholder="请输入内容" />
        </el-form-item>
        <el-form-item label="OA督办状态" prop="srvFboadubanflag">
          <el-input v-model="form.srvFboadubanflag" placeholder="请输入OA督办状态" />
        </el-form-item>
        <el-form-item label="延期申请状态" prop="srvApplicationstate">
          <el-input v-model="form.srvApplicationstate" placeholder="请输入延期申请状态" />
        </el-form-item>
        <el-form-item label="延期申请天数" prop="srvApplicationdays">
          <el-input v-model="form.srvApplicationdays" placeholder="请输入延期申请天数" />
        </el-form-item>
        <el-form-item label="回访办结督办状态" prop="srvFbbanflag">
          <el-input v-model="form.srvFbbanflag" placeholder="请输入回访办结督办状态" />
        </el-form-item>
        <el-form-item label="联系人" prop="srvFbcontact">
          <el-input v-model="form.srvFbcontact" placeholder="请输入联系人" />
        </el-form-item>
        <el-form-item label="联系电话" prop="srvFbcontactnum">
          <el-input v-model="form.srvFbcontactnum" placeholder="请输入联系电话" />
        </el-form-item>
        <el-form-item label="联系时间" prop="srvFbcontacttime">
          <el-date-picker clearable size="small"
            v-model="form.srvFbcontacttime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择联系时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="联系情况" prop="srvFbcontaction">
          <el-input v-model="form.srvFbcontaction" placeholder="请输入联系情况" />
        </el-form-item>
        <el-form-item label="备注" prop="srvFbcontactdes">
          <el-input v-model="form.srvFbcontactdes" type="textarea" placeholder="请输入内容" />
        </el-form-item>
        <el-form-item label="首日创建人" prop="srvFbcontactoper">
          <el-input v-model="form.srvFbcontactoper" placeholder="请输入首日创建人" />
        </el-form-item>
        <el-form-item label="首日创建时间" prop="srvFbcontactopertime">
          <el-date-picker clearable size="small"
            v-model="form.srvFbcontactopertime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择首日创建时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="首日修改人" prop="srvFbcontactlmoper">
          <el-input v-model="form.srvFbcontactlmoper" placeholder="请输入首日修改人" />
        </el-form-item>
        <el-form-item label="首日修改时间" prop="srvFbcontactlmtime">
          <el-date-picker clearable size="small"
            v-model="form.srvFbcontactlmtime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择首日修改时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="提交状态" prop="srvFbcontactsubmitstate">
          <el-input v-model="form.srvFbcontactsubmitstate" placeholder="请输入提交状态" />
        </el-form-item>
        <el-form-item label="提交人" prop="srvFbcontactsubmiter">
          <el-input v-model="form.srvFbcontactsubmiter" placeholder="请输入提交人" />
        </el-form-item>
        <el-form-item label="提交时间" prop="srvFbcontactsubmittime">
          <el-date-picker clearable size="small"
            v-model="form.srvFbcontactsubmittime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择提交时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="挂牌督办状态" prop="srvFbguadubanflag">
          <el-input v-model="form.srvFbguadubanflag" placeholder="请输入挂牌督办状态" />
        </el-form-item>
        <el-form-item label="挂牌督办人" prop="srvFbguadubanperson">
          <el-input v-model="form.srvFbguadubanperson" placeholder="请输入挂牌督办人" />
        </el-form-item>
        <el-form-item label="挂牌督办时间" prop="srvFbguadubandate">
          <el-date-picker clearable size="small"
            v-model="form.srvFbguadubandate"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="选择挂牌督办时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="回退标识" prop="srvHuituiflag">
          <el-input v-model="form.srvHuituiflag" placeholder="请输入回退标识" />
        </el-form-item>
        <el-form-item label="回退状态" prop="srvHuituistate">
          <el-input v-model="form.srvHuituistate" placeholder="请输入回退状态" />
        </el-form-item>
        <el-form-item label="预通报件" prop="srvFbprenotififlag">
          <el-input v-model="form.srvFbprenotififlag" placeholder="请输入预通报件" />
        </el-form-item>
        <el-form-item label="推诿件" prop="srvFbprevaricationflag">
          <el-input v-model="form.srvFbprevaricationflag" placeholder="请输入推诿件" />
        </el-form-item>
        <el-form-item label="最后一次退回重办单编码" prop="srvFblasthuituicode">
          <el-input v-model="form.srvFblasthuituicode" placeholder="请输入最后一次退回重办单编码" />
        </el-form-item>
        <el-form-item label="退回重办次数" prop="srvFbhuituisize">
          <el-input v-model="form.srvFbhuituisize" placeholder="请输入退回重办次数" />
        </el-form-item>
        <el-form-item label="回退标识" prop="srvReturnflag">
          <el-input v-model="form.srvReturnflag" placeholder="请输入回退标识" />
        </el-form-item>
        <el-form-item label="拟挂牌督办" prop="srvFbniguadubanflag">
          <el-input v-model="form.srvFbniguadubanflag" placeholder="请输入拟挂牌督办" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>

<script>
import { listFeedbform, getFeedbform, delFeedbform, addFeedbform, updateFeedbform } from "@/api/system/feedbform";

export default {
  name: "Feedbform",
  components: {
  },
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 办理单表格数据
      feedbformList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        srvSfcode: null,
        extFmicode: null,
        srvFbmainflg: null,
        srvFbflag: null,
        srvFbstate: null,
        srvFbsendmode: null,
        srvFbsendlimit: null,
        srvFbopingrage: null,
        srvFbopinion: null,
        srvFbopiner: null,
        srvFbopintime: null,
        srvFbsender: null,
        srvFbsendtime: null,
        srvFbrevmode: null,
        srvFbsendflag: null,
        srvFbisread: null,
        srvFboper: null,
        srvFbopertime: null,
        srvFblmoper: null,
        srvFblmtime: null,
        srvFbcheck: null,
        srvFbcheckoper: null,
        srvFbchecktime: null,
        srvFbendflag: null,
        srvFbendflagt: null,
        srvSfmanyiflag: null,
        srvSfguanzhuflag: null,
        srvFbtranstype: null,
        srvFbenddate: null,
        srvFbtrueenddate: null,
        srvFbhebingflag: null,
        srvFbrcflag: null,
        srvFbendfinisher: null,
        srvFbyanqistate: null,
        srvFbisreadflag: null,
        srvFbtfisread: null,
        srvFbfirstenddate: null,
        srvFbisornotbanli: null,
        firstdealtime: null,
        lastdealtime: null,
        srvTfchecktime: null,
        srvTfanswer: null,
        srvTfcode: null,
        srvHuifuFlag: null,
        srvSftfanisread: null,
        srvFbhuidubanstate: null,
        srvFbhuidubanadvice: null,
        srvFboadubanflag: null,
        srvApplicationstate: null,
        srvApplicationdays: null,
        srvFbbanflag: null,
        srvFbcontact: null,
        srvFbcontactnum: null,
        srvFbcontacttime: null,
        srvFbcontaction: null,
        srvFbcontactdes: null,
        srvFbcontactoper: null,
        srvFbcontactopertime: null,
        srvFbcontactlmoper: null,
        srvFbcontactlmtime: null,
        srvFbcontactsubmitstate: null,
        srvFbcontactsubmiter: null,
        srvFbcontactsubmittime: null,
        srvFbguadubanflag: null,
        srvFbguadubanperson: null,
        srvFbguadubandate: null,
        srvHuituiflag: null,
        srvHuituistate: null,
        srvFbprenotififlag: null,
        srvFbprevaricationflag: null,
        srvFblasthuituicode: null,
        srvFbhuituisize: null,
        srvReturnflag: null,
        srvFbniguadubanflag: null
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
      }
    };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询办理单列表 */
    getList() {
      this.loading = true;
      listFeedbform(this.queryParams).then(response => {
        this.feedbformList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        srvFbcode: null,
        srvSfcode: null,
        extFmicode: null,
        srvFbmainflg: null,
        srvFbflag: null,
        srvFbstate: null,
        srvFbsendmode: null,
        srvFbsendlimit: null,
        srvFbopingrage: null,
        srvFbopinion: null,
        srvFbopiner: null,
        srvFbopintime: null,
        srvFbsender: null,
        srvFbsendtime: null,
        srvFbrevmode: null,
        srvFbsendflag: null,
        srvFbisread: null,
        srvFboper: null,
        srvFbopertime: null,
        srvFblmoper: null,
        srvFblmtime: null,
        srvFbcheck: null,
        srvFbcheckoper: null,
        srvFbchecktime: null,
        srvFbendflag: null,
        srvFbendflagt: null,
        srvSfmanyiflag: null,
        srvSfguanzhuflag: null,
        srvFbtranstype: null,
        srvFbenddate: null,
        srvFbtrueenddate: null,
        srvFbhebingflag: null,
        srvFbrcflag: null,
        srvFbendfinisher: null,
        srvFbyanqistate: null,
        srvFbisreadflag: null,
        srvFbtfisread: null,
        srvFbfirstenddate: null,
        srvFbisornotbanli: null,
        firstdealtime: null,
        lastdealtime: null,
        srvTfchecktime: null,
        srvTfanswer: null,
        srvTfcode: null,
        srvHuifuFlag: null,
        srvSftfanisread: null,
        srvFbhuidubanstate: null,
        srvFbhuidubanadvice: null,
        srvFboadubanflag: null,
        srvApplicationstate: null,
        srvApplicationdays: null,
        srvFbbanflag: null,
        srvFbcontact: null,
        srvFbcontactnum: null,
        srvFbcontacttime: null,
        srvFbcontaction: null,
        srvFbcontactdes: null,
        srvFbcontactoper: null,
        srvFbcontactopertime: null,
        srvFbcontactlmoper: null,
        srvFbcontactlmtime: null,
        srvFbcontactsubmitstate: null,
        srvFbcontactsubmiter: null,
        srvFbcontactsubmittime: null,
        srvFbguadubanflag: null,
        srvFbguadubanperson: null,
        srvFbguadubandate: null,
        srvHuituiflag: null,
        srvHuituistate: null,
        srvFbprenotififlag: null,
        srvFbprevaricationflag: null,
        srvFblasthuituicode: null,
        srvFbhuituisize: null,
        srvReturnflag: null,
        srvFbniguadubanflag: null
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.srvFbcode)
      this.single = selection.length!==1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加办理单";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const srvFbcode = row.srvFbcode || this.ids
      getFeedbform(srvFbcode).then(response => {
        this.form = response.data;
        this.open = true;
        this.title = "修改办理单";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (this.form.srvFbcode != null) {
            updateFeedbform(this.form).then(response => {
              this.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addFeedbform(this.form).then(response => {
              this.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const srvFbcodes = row.srvFbcode || this.ids;
      this.$confirm('是否确认删除办理单编号为"' + srvFbcodes + '"的数据项?', "警告", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return delFeedbform(srvFbcodes);
        }).then(() => {
          this.getList();
          this.msgSuccess("删除成功");
        })
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('system/feedbform/export', {
        ...this.queryParams
      }, `system_feedbform.xlsx`)
    }
  }
};
</script>